{{if (!empty($CurrentUser) && $current_user_id)}}
{{if $personals}}	
<div id="user-style-list">
	<div class="text-center">{{$page_navi}}</div>
	<div class="row">
	   <?PHP foreach($personals as $k => $item) {
				$item = $item['UserStyle'];
    		?>	
	 		<div class="col-xs-12 col-sm-12">
	 			<div class="style-list clearfix" id="editor-style-{{$item['id']}}"  style="max-height:300px;overflow:hidden;margin:10px 0;padding:10px;border:1px solid #ddd;">
					<div class="editor-style-content  clearfix" {{if !$unuse_data_id}}data-id="us{{$item['id']}}"{{/if}}  data-name="{{htmlspecialchars($item['name'])}}" id="template-us{{$item['id']}}">
						{{$item['content']}}
					</div>
					<div class="user-style-toolbar"> <i class="fa fa-edit" data-id="{{$item['id']}}" title="修改"></i> &nbsp;  <i title="删除" data-id="{{$item['id']}}" class="fa fa-trash"></i> </div>
				</div>
			</div>
	   <?php } ?>
	   
	</div>
	<div class="clear:both;"></div>
    <div class="text-center">{{$page_navi}}</div>
</div>
{{else}}
	<div id="user-style-list"><p class="alert alert-warning mt10">您还没有添加个人模板样式</p></div>
{{/if}}
{{else}}
	<p class="alert alert-warning mt10">您还没有登录，请<a href="/users/login" onclick="return checkLogin();">登录</a>后查看。</p>
{{/if}}